home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3054 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.itd.umich.edu!not-for-mail
  2. From: jlthomas@umd.umich.edu (Jeffrey L. Thomas)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: GCC error: bad magic number
  5. Date: 25 Jan 1996 14:21:19 -0500
  6. Organization: Univerisity of Michigan - Dearborn
  7. Message-ID: <4e8l7f$9vh@null.umd.umich.edu>
  8. References: <4e4tef$q1j@ee.rutgers.edu>
  9. NNTP-Posting-Host: null.umd.umich.edu
  10. NNTP-Posting-User: jlthomas
  11. X-Newsreader: NN version 6.5.0 #3 (NOV)
  12.  
  13. daksis@ee.rutgers.edu (Randall Thomas) writes:
  14. >hello all, i was wondering if anyone could help me with this error i'm getting
  15. >back from gcc... the error is : bad magic number
  16. >what does this refer to (usually) and what are some probable cauyses for this
  17.  
  18.  
  19. Your program file name needs to conform to certain standards.  The answer
  20. is that you don't have a .c extention to you file name, .C (cap-c) will not
  21. work it must be a .c (lower case c). gcc uses the extentions of the files
  22. given it to determine how it will treat the file.
  23.  
  24. This may seem silly, but because of it you really don't need to worry about
  25. tell gcc what kind of files you are sending it, it figures it out by itself
  26.  
  27. Jeff
  28. -- 
  29. \|||/  _Spike_Man_      ____  | Jeffery L. Thomas  | "The important thing is
  30.  ^.^  The Internet's   /    \ | jlthomas@umich.edu | not to stop questioning.
  31.   v   first superhero  \ SM / | "This time it will | Curiosity has it own
  32. "more than a cute .sig" \__/  | surely run" - anon | reason for existing."
  33.